package com.user.read.dto;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName UserDTO
 * @Desecription TODO 1.2新增
 * @Author gjy
 * @Date 2021/3/19 12:44
 * @Version 1.2
 **/
@HeadRowHeight(35)
@ContentRowHeight(25)
public class UserDTO implements Serializable {
    /**
     * 用户编号
     */
    @ExcelProperty(value = {"学生信息","学生编号"},order = 1)
    @ExcelIgnore
    private Integer id;
    /**
     * 昵称
     */
    @ExcelProperty(value = {"学生信息","学生姓名"},order = 2)
    private String name;

    /**
     * 年纪
     */
    @ExcelProperty(value = {"学生信息","学生年纪"},order = 3)
    private Integer age;
    /**
     * 手机号
     */
    @ExcelProperty(value = {"学生信息","学生手机号"},order = 4)
    private String phoneNumber;
    /**
     * 性别
     */
    @ExcelProperty(value = {"学生信息","学生性别"},order = 5)
    private String sex;
    /**
     * 地址
     */
    @ExcelProperty(value = {"学生信息","学生地址"},order = 6)
    private String address;
    /**
     * 更新时间
     */
    @ExcelProperty(value = {"学生信息","操作时间"},order = 7)
    @ExcelIgnore
    private Date updateTime;
    /**
     * 更新操作人
     */
    @ExcelProperty(value = {"学生信息","操作人"},order = 8)
    @ExcelIgnore
    private String updateUser;
    /**
     * 学生编号
     */
    @ExcelProperty(value = {"学生信息","学生编号"},order = 9)
    private Integer studentNumber;
    /**
     * 头像的url
     */
    @ExcelProperty(value = {"学生信息","学生头像"},order = 10)
    @ExcelIgnore
    private String headPortraitUrl;
    /**
     * 学校组织的Id
     */
    @ExcelProperty(value = {"学生信息","学校id"},order = 11)
    @ExcelIgnore
    private Integer shcoolOrganizaId;

    public Integer getId() {
        return id;
    }

    public UserDTO setId(Integer id) {
        this.id = id;
        return this;
    }

    public String getName() {
        return name;
    }

    public UserDTO setName(String name) {
        this.name = name;
        return this;
    }

    public Integer getGender() {
        return age;
    }

    public UserDTO setGender(Integer gender) {
        this.age = gender;
        return this;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Integer getStudentNumber() {
        return studentNumber;
    }

    public void setStudentNumber(Integer studentNumber) {
        this.studentNumber = studentNumber;
    }

    public String getHeadPortraitUrl() {
        return headPortraitUrl;
    }

    public void setHeadPortraitUrl(String headPortraitUrl) {
        this.headPortraitUrl = headPortraitUrl;
    }

    public Integer getShcoolOrganizaId() {
        return shcoolOrganizaId;
    }

    public void setShcoolOrganizaId(Integer shcoolOrganizaId) {
        this.shcoolOrganizaId = shcoolOrganizaId;
    }
}
